import Mock from 'mockjs'


const {imgs} = Mock.mock({
    'imgs|10':[
        {
            'img':'https://unsplash.it/400/800/?@name'
        }
    ]
})

Mock.mock('/api/imgs',()  => {
    return imgs
})